package com.hzf.material.dao.mapper;

import com.hzf.material.dao.model.MaterialGoodsModel;
import com.hzf.material.dao.model.MaterialGoodsModelExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface MaterialGoodsModelMapper {
    long countByExample(MaterialGoodsModelExample example);

    int deleteByExample(MaterialGoodsModelExample example);

    int deleteByPrimaryKey(Integer modelId);

    int insert(MaterialGoodsModel record);

    int insertSelective(MaterialGoodsModel record);

    List<MaterialGoodsModel> selectByExample(MaterialGoodsModelExample example);

    MaterialGoodsModel selectByPrimaryKey(Integer modelId);

    int updateByExampleSelective(@Param("record") MaterialGoodsModel record, @Param("example") MaterialGoodsModelExample example);

    int updateByExample(@Param("record") MaterialGoodsModel record, @Param("example") MaterialGoodsModelExample example);

    int updateByPrimaryKeySelective(MaterialGoodsModel record);

    int updateByPrimaryKey(MaterialGoodsModel record);
}